def test_args(*args):
    print(args)


def test_kwargs(**kwargs):
    print(kwargs)
    print(type(kwargs))
    for key, value in kwargs.items():
        print("{} == {}".format(key, value))


def test_all(*args, **kwargs):
    print(args)
    print(kwargs)


# 按间距中的绿色按钮以运行脚本。
if __name__ == '__main__':
    print('----------')
    test_args('nep', 'blanc', 'noire')
    print('----------')
    test_kwargs(puple='nep', white='blanc', black='noire')
    print('----------')
    test_all('nep', 'blanc', puple='nep', white='blanc')
